package service

import (
	"fmt"
	"github.com/gin-gonic/gin"
	"math/rand/v2"
)

type CodeService struct {
}

func (c *CodeService) Send(
	ctx *gin.Context,
	biz string,
	code string,
	phone string,

) {

}

func (c *CodeService) generateCode() string {
	num := rand.IntN(1000000)
	return fmt.Sprintf("%6d", num)
}
